package com.example.easytraffic.core;

public class SingleThreadedTraffic implements Traffic{

	private Runnable action;
	
	public SingleThreadedTraffic(Runnable action) {
		super();
		this.action = action;
	}

	public void run() {
		action.run();
	}

	public void stop() {
		// nothing to do
	}
}
